package com.design.pattern.visitor.user;

/**
 * 用户的共有属性
 */
public class User {
    private String sex;//性别

    private String name;//名字

    private String address;//家庭住址
    private Integer age;//年龄

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
